<html><head><title>EntityLinearFactor</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">EntityLinearFactor()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>EntityLinearFactor</b></font>(#Entity, x, y, z)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Changes the linear factor for the #Entity. When moved, the entity linear velocity 
is multiplied by the linear factor to get the final velocity. This is very useful 
to constraint an entity move on one or several axis. By default, the linear 
factor is 1 for all axis meaning no impact on the velocity. The entity needs a physic body to support 
linear velocity constraint. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Entity</i></td>
<td width="90%"> 
The entity to use. 

</td></tr>
<tr><td><i>x</i></td>
<td> 
The 'x' linear factor value. If set to the 0, the entity won't be able to move on the 'x' axis anymore. 

</td></tr>
<tr><td><i>y</i></td>
<td> 
The 'y' linear factor vector. If set to the 0, the entity won't be able to move on the 'y' axis anymore. 

</td></tr>
<tr><td><i>z</i></td>
<td> 
The 'z' linear factor vector. If set to the 0, the entity won't be able to move on the 'z' axis anymore. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=entityid.html>EntityID()</a> - <a href=index.html>Entity Index</a> - <a href=entitylookat.html>EntityLookAt()</a> ->

</body></html>